import { defineStore } from 'pinia'
import { ConfigType } from '@renderer/../../main/type'

export default defineStore('config', {
    state: () => ({
        config: {} as ConfigType
    }),
    getters: {},
    actions: {
        setConfig(val: ConfigType) {
            this.config = val
        }
    }
})